package com.tangtang.security.view.model;

import com.tangtang.security.model.SysResource;

public class SysViewResource extends SysResource
{
	private Boolean	active;
	private Boolean	first;
	private Boolean	last;
	private int		depth	= 0;
	
	/**
	 * 是否当前菜单
	 * 
	 * @return
	 */
	public Boolean getActive()
	{
		return active;
	}
	
	/**
	 * @param active
	 */
	public void setActive(Boolean active)
	{
		this.active = active;
	}
	
	/**
	 * 是否第一个菜单
	 * 
	 * @return
	 */
	public Boolean getFirst()
	{
		return first;
	}
	
	public void setFirst(Boolean first)
	{
		this.first = first;
	}
	
	/**
	 * 是否最后一个
	 * 
	 * @return
	 */
	public Boolean getLast()
	{
		return last;
	}
	
	public void setLast(Boolean last)
	{
		this.last = last;
	}
	
	/**
	 * 深度
	 * 
	 * @return
	 */
	public int getDepth()
	{
		return depth;
	}
	
	/**
	 * set depth
	 * 
	 * @param depth
	 */
	public void setDepth(int depth)
	{
		this.depth = depth;
	}
	
}
